{extend name="public/base" /}
{block name="body"}
<div class="ibox float-e-margins">
<div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li><strong>余额银果统计</strong></li>
	</ol>
</div>
	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('index')}">
			<div class="order-info panel panel-default">
				<div class="panel-heading">
					<strong><i class="fa fa-bar-chart" style="color:#f70;"></i>&nbsp;&nbsp;会员统计</strong>&nbsp;&nbsp;
				</div>
				<div class="panel-body clearfix">
					<div class="info-group" style="width:50%">
						<span class="h4">
							{$scoresumuser}
						</span>
						<span class="info-description">银果</span>
					</div>
					<div class="info-group" style="width:50%">
						<span class="h4">
							{$moneysumuser}
						</span>
						<span class="info-description">金额</span>
					</div>
				</div>
			</div>	
      </form>    
</div>
{/block} {block name="script"}
<script src="__JS__/jquery.form.js"></script>
<script src="__LIB__/validate/jquery.validate.min.js"></script>
<script src="__LIB__/validate/messages_zh.min.js"></script>
<script src="__LIB__/validate/add_validate.min.js"></script>
<script src="__LIB__/fileinput/js/fileinput.min.js"></script>
<script src="__LIB__/fileinput/js/locales/zh.js"></script>
<script src="__JS__/echarts.common.min.js"></script>
<style>
	.order-info .info-group{width:25%; text-align:center; float:left;}
	.order-info .info-group+.info-group{border-left:1px dotted #ccc; }
	.h4{font-size:22px; display:block;}
	
	
</style>

	
	setInterval(function () {
	
	    for (var i = 0; i < 1; i++) {
	        data.shift();
	        data.push(randomData());
	    }
	
	    myChart.setOption(option);
	}, 1000);
</script>
{/block}